/*
 * AgentTitleHolder.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.viewholder;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.yidiandao.business.R;
import com.yidiandao.business.ui.widget.listview.ViewHolder;

/** 我是代理商 商行和级别 */
public class AgentTitleHolder extends ViewHolder {

    public ImageView mIvAgentLogo;
    public TextView mTvAgentName;
    public TextView mTvAgentLevel;

    @Override
    protected void initView(View rootView) {
        mIvAgentLogo = (ImageView) rootView.findViewById(R.id.iv_agent_logo);
        mTvAgentName = (TextView) rootView.findViewById(R.id.tv_agent_name);
        mTvAgentLevel = (TextView) rootView.findViewById(R.id.tv_agent_level);
    }

    @Override
    protected int getItemLayoutId() {
        return R.layout.item_agent;
    }
}
